home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr35 / jamapi.zip / HMB2JAM.ZIP / HMBSUB.H < prev    next >
C/C++ Source or Header  |  1993-07-01  |  1KB  |  64 lines

  1. /*
  2. **  JAM(mbp) - The Joaquim-Andrew-Mats Message Base Proposal
  3. **
  4. **  HMB to JAM converter
  5. **
  6. **  Written by Mats Wallin
  7. **
  8. **  ----------------------------------------------------------------------
  9. **
  10. **  hmbsub.h (JAMmb)
  11. **
  12. **  Definitions and prototypes for HMB subroutines
  13. **
  14. **  Copyright 1993 Joaquim Homrighausen, Andrew Milner, Mats Birch, and
  15. **  Mats Wallin. ALL RIGHTS RESERVED.
  16. **
  17. **  93-06-28    MW
  18. **  Initial coding.
  19. */
  20.  
  21. #include "hmb.h"
  22.  
  23. /*
  24. **  Structures
  25. */
  26.  
  27. typedef struct
  28.   {
  29.   unsigned int  Zone,
  30.                 Net,
  31.                 Node,
  32.                 Point;
  33.   } AKA;
  34.  
  35.  
  36. typedef struct
  37.   {
  38.   int     InfoHandle,
  39.           IdxHandle,
  40.           ToidxHandle,
  41.           HdrHandle,
  42.           TxtHandle;
  43.   HMBINFO Info;
  44.   HMBIDX  Idx;
  45.   HMBHDR  Hdr;
  46.   HMBTXT  Txt;
  47.   } HMBREC;
  48.  
  49.  
  50. /*
  51. **  Prototypes
  52. */
  53.  
  54. int HmbClose( HMBREC * pHmb );
  55. int HmbOpen( HMBREC * pHmb, int OpenMode, int ShareMode );
  56. int HmbReadFirstHdr( HMBREC * pHmb );
  57. int HmbReadNextHdr( HMBREC * pHmb );
  58. int InitHMBREC( HMBREC * pHmbRec );
  59. CHAR8 * Pascal2C( CHAR8 * PascalStr, CHAR8 * CStr );
  60. UINT32 HmbDateTimeToUnix( CHAR8 * pDate, CHAR8 * pTime );
  61.  
  62.  
  63. /* end of file "hmbsub.h" */
  64.